import type { UserInfo } from '@vben/types';

import { requestSystemClient } from '#/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
  return requestSystemClient.get<UserInfo>('/system/auth/info');
}
